/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clusteranalyst2;



import java.util.ArrayList;
import java.util.Iterator;

public class TestCluster {
   public static  ArrayList al=new ArrayList();

    public static  void printArrayList(ArrayList al)
    {
        Iterator it=al.iterator();

        while(it.hasNext())
        {
            Object obj=it.next();
            double[] resultRow=(double[])obj;          
           
            for( int i=0;i<resultRow.length;i++)
            { 
                System.out.println(resultRow[i]);
            }
             System.out.println("##############");
        }
    }
    public static void printMatrix(double [][] matrix)
    {
        int jLenth=matrix[0].length;
        for(int i=0;i<matrix.length;i++)
        {
            for(int j=0;j<jLenth;j++)
            {
                System.out.print(matrix[i][j]+"  ");
            }
            System.out.print("\n");
        }
    }
    public static void printArray(double [] a)
    {
        for(int i=0;i<a.length;i++)
        {
            System.out.print(a[i]+"  ");
        }
    }
  public void  getClasses(double Y,int [] a)
  {
      Object[] obj=new Object[]{Y,a};
     al.add(obj);
  }

  
    public static void main(String[] args) {
        // TODO code application logic here     

        ExcuteCluster ec=new ExcuteCluster();
        ec.excute();         
    }

}
